/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package businessData;

import java.io.Serializable;
import java.util.ArrayList;


/**
 *
 * @author cam
 */

public class DistributionPlan implements Serializable{
 
/**
 *
 * @author cam
 */
    ArrayList<Distribution> myDistributionList; 

    public DistributionPlan() {
    this.myDistributionList = new ArrayList<Distribution>();
    }

    public DistributionPlan(ArrayList<Distribution> myDistributionList) {
        this.myDistributionList = myDistributionList;
    }

    public ArrayList<Distribution> getMyDistributionList() {
        return myDistributionList;
    }

    public void setMyDistributionList(ArrayList<Distribution> myDistributionList) {
        this.myDistributionList = myDistributionList;
    }

   public void addChild(Distribution distribution) { 
        
        myDistributionList.add(distribution);
    }    

    
 }


